﻿using System;
using System.Collections.Generic;
using System.Text;
using PersistenceObject.Framework;
using PersistenceObject.Framework.Expressions;

namespace FundSms.Server.Channel.HZUnicom
{

    [Serializable]
    [DataTable("sms_receive")]
    public partial class receive
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("sms_receive");

        public static DecimalField _Id = new DecimalField("Id");
        public static StringField _Result = new StringField("Result");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _Recv_time = new StringField("Recv_time");
        public static StringField _Sms_number = new StringField("Sms_number");
        public static StringField _Content = new StringField("Content");

        private Decimal id;
        private String result;
        private String mobile;
        private String recv_time;
        private String sms_number;
        private String content;

        [KeyField("Id", KeyType = UniqueIDType.AutoIdentitiy)]
        public Decimal Id
        {
            get { return id; }
            set { id = value; }
        }

        [DataField("Result")]
        public String Result
        {
            get { return result; }
            set { result = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("Recv_time")]
        public String Recv_time
        {
            get { return recv_time; }
            set { recv_time = value; }
        }

        [DataField("Sms_number")]
        public String Sms_number
        {
            get { return sms_number; }
            set { sms_number = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

    }

    [Serializable]
    [DataTable("sms_send")]
    public partial class send
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("sms_send");

        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _Content = new StringField("Content");
        public static StringField _Sms_number = new StringField("Sms_number");
        public static DecimalField _Id = new DecimalField("Id");
        public static IntField _Priority = new IntField("Priority");
        public static StringField _Plan_time = new StringField("Plan_time");
        public static StringField _Result = new StringField("Result");
        public static StringField _Seq_id = new StringField("Seq_id");
        public static StringField _Submit_time = new StringField("Submit_time");
        public static StringField _Send_time = new StringField("Send_time");
        public static StringField _Recv_time = new StringField("Recv_time");
        public static StringField _Send_type = new StringField("Send_type");

        private String mobile;
        private String content;
        private String sms_number;
        private Decimal id;
        private Int32 priority;
        private String plan_time;
        private String result;
        private String seq_id;
        private String submit_time;
        private String send_time;
        private String recv_time;
        private String send_type;

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Sms_number")]
        public String Sms_number
        {
            get { return sms_number; }
            set { sms_number = value; }
        }

        [KeyField("Id", KeyType = UniqueIDType.AutoIdentitiy)]
        public Decimal Id
        {
            get { return id; }
            set { id = value; }
        }

        [DataField("Priority")]
        public Int32 Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("Plan_time")]
        public String Plan_time
        {
            get { return plan_time; }
            set { plan_time = value; }
        }

        [DataField("Result")]
        public String Result
        {
            get { return result; }
            set { result = value; }
        }

        [DataField("Seq_id")]
        public String Seq_id
        {
            get { return seq_id; }
            set { seq_id = value; }
        }

        [DataField("Submit_time")]
        public String Submit_time
        {
            get { return submit_time; }
            set { submit_time = value; }
        }

        [DataField("Send_time")]
        public String Send_time
        {
            get { return send_time; }
            set { send_time = value; }
        }

        [DataField("Recv_time")]
        public String Recv_time
        {
            get { return recv_time; }
            set { recv_time = value; }
        }

        [DataField("Send_type")]
        public String Send_type
        {
            get { return send_type; }
            set { send_type = value; }
        }

    }

    [Serializable]
    [DataTable("sms_ver")]
    public partial class ver
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("sms_ver");

        public static IntField _Ver_C = new IntField("Ver");

        private Int32 ver_C;

        [DataField("Ver")]
        public Int32 Ver_C
        {
            get { return ver_C; }
            set { ver_C = value; }
        }

    }








}

